
import { units } from '@library';

export async function execCodingRuleApi({ type, count, ruleCode, data }: { type: string, count: number, ruleCode: string, data: any }) {
  try {
    return await units.serverLoading("/bk/mid/coding/execCodingRule", {
      type, count, ruleCode, data
    })
  } catch (error) {
    return [undefined]
  }
}